//
//  Data.h
//  dingding
//
//  Created by chensentao on 15/12/2.
//  Copyright © 2015年 dingding. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface StringUtil:NSObject

+(NSString*) md5:(NSString *)str;
+(NSString*)encodeString:(NSString*)unencodedString;
+(NSString*)decodeString:(NSString*)encodedString;
+(NSString*)floatStr:(float) value;
+(NSString*)imgUrl:(NSString*) url;
+(NSString*)timeStr:(NSString*)time;
+(NSString*)timeStrMin:(long long)time;
+(NSString*)dateStr:(NSDate*)date;
+(NSString*)shortNum:(int)num;//万以上的数字简化
+(NSString *)compareCurrentTime:(NSString *)str;
+(NSString*)intStr:(int)num;
+(NSString*)aboutStr:(NSString*)about;
+(NSArray*)splitStr:(NSString*)str sep:(NSString*)sep;
+(BOOL)isNumber:(NSString *)myString;
+(long long)curTime;
+(long long)curTimeMis;

+(void)copyTxt:(NSString*)txt;

@end
